From d0e047f2158974aad43ce157aafda77078609caf Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Wed, 8 Apr 2026 14:02:44 +0200 Subject: [PATCH] tests: Don't check value before calling g_free It is NULL safe anyways. Part-of: --- src/st/test-theme.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/st/test-theme.c b/src/st/test-theme.c index ab99f558d..51fa06108 100644 --- a/src/st/test-theme.c +++ b/src/st/test-theme.c @@ -78,8 +78,7 @@ assert_font_features (StThemeNode *node, fail = TRUE; } - if (value) - g_free (value); + g_free (value); } static char * -- 2.39.5